man: Elaborate on per-remote GPG
authorColin Walters <walters@verbum.org>
Thu, 14 Apr 2016 15:05:22 +0000 (11:05 -0400)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 14 Apr 2016 16:05:52 +0000 (16:05 +0000)
Closes: #258
Approved by: alexlarsson

man/ostree.repo-config.xml
man/ostree.xml

index c77ccc6ec77d0b5153be1a746d8c95b645c45b50..0c421ba46c6dcd21e279616c36a124b3998f2576 100644 (file)
@@ -195,6 +195,15 @@ Boston, MA 02111-1307, USA.
       ignored.
     </para>
   </refsect1>
+
+  <refsect1>
+    <title>Per-remote GPG keyrings and verification</title>
+    <para>
+      OSTree supports a per-remote GPG keyring.  For more information see
+      <citerefentry><refentrytitle>ostree</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
+      in the section <literal>GPG verification</literal>.
+    </para>
+  </refsect1>
   
   <refsect1>
     <title>See Also</title>
index 161ef0bc9175f47d73072d6aff533db651355026..80b0b0c109450c4b8d5474ae5020cfbbb7ec1365 100644 (file)
@@ -425,13 +425,25 @@ Boston, MA 02111-1307, USA.
         <title>GPG verification</title>
 
         <para>
-            OSTree supports signing commits with GPG.  The set of
-            trusted public keys is stored as keyring files in
-            <filename>/usr/share/ostree/trusted.gpg.d</filename>.  Any
-            public key in a keyring file in that directory will be
-            trusted by the client.  No private keys should be present
-            in this directory.
+          OSTree supports signing commits with GPG.  Operations on the system
+         repository by default use keyring files in
+          <filename>/usr/share/ostree/trusted.gpg.d</filename>.  Any
+          public key in a keyring file in that directory will be
+          trusted by the client.  No private keys should be present
+          in this directory.
         </para>
+        <para>
+           In addition to the system repository, OSTree supports a
+           per-remote
+           <filename><replaceable>remotename</replaceable>.trustedkeys.gpg</filename>
+           file stored in the toplevel of the repository (alongside
+           <filename>objects/</filename> and such). This is
+           particularly useful when downloading content that may not
+           be fully trusted (e.g. you want to inspect it but not
+           deploy it as an OS), or use it for containers.  This file
+           is written via <command>ostree remote add
+           --gpg-import</command>.
+       </para>
     </refsect1>
 
     <refsect1>